package com.vhall.component.entity.lottery.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author longzhen.gong
 * @date 2021/6/25 14:38
 */
@Data
public class LotteryUsersGetReqVO {

    private Integer page;

    @ParamName("page_size")
    private Integer pageSize;

    /**
     * 抽奖中奖者ID
     */
    @ParamName("lottery_user_id")
    @JsonProperty("lottery_user_id")
    private String lotteryUserId;


    /**
     * 来源ID
     */
    @NotBlank(message = "房间信息不能为空")
    @ParamName("room_id")
    @JsonProperty("room_id")
    private String roomId;

    /**
     * 抽奖ID
     */
    @NotBlank(message = "lotteryId不能为空")
    @ParamName("lottery_id")
    @JsonProperty("lottery_id")
    private String lotteryId;

    /**
     * 排序类型：
     * asc 正序
     * desc 倒序
     */
    @ParamName("sort_type")
    @JsonProperty("sort_type")
    private String sortType;

    private String from;

    private String en;
}
